import React from 'react';
import logo from './back.png';
import './CancelIcon.css';

export default class CancelIcon extends React.Component {
    render() {
        return (
            <img src={logo} className="cancel-icon" alt="cancel-icon" onClick={this.props.click} />
        )
    }
}
